
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon adpiconfont icon-dingyue"></i>
                    <div class="name">订阅</div>
                    <div class="fontclass">.icon-dingyue</div>
                </li>
            
                <li>
                <i class="icon adpiconfont icon-weibiaoti1"></i>
                    <div class="name">注册</div>
                    <div class="fontclass">.icon-weibiaoti1</div>
                </li>
            
                <li>
                <i class="icon adpiconfont icon-yonghu"></i>
                    <div class="name">用户</div>
                    <div class="fontclass">.icon-yonghu</div>
                </li>
            
                <li>
                <i class="icon adpiconfont icon-jiaotongweifachaxun"></i>
                    <div class="name">交通违法查询</div>
                    <div class="fontclass">.icon-jiaotongweifachaxun</div>
                </li>
            
                <li>
                <i class="icon adpiconfont icon-jiaotong"></i>
                    <div class="name">交通</div>
                    <div class="fontclass">.icon-jiaotong</div>
                </li>
            
                <li>
                <i class="icon adpiconfont icon-jiaotong1"></i>
                    <div class="name">交通</div>
                    <div class="fontclass">.icon-jiaotong1</div>
                </li>
            
                <li>
                <i class="icon adpiconfont icon-jiaotong2"></i>
                    <div class="name">交通</div>
                    <div class="fontclass">.icon-jiaotong2</div>
                </li>
            
                <li>
                <i class="icon adpiconfont icon-jiaotongxinxi"></i>
                    <div class="name">交通信息</div>
                    <div class="fontclass">.icon-jiaotongxinxi</div>
                </li>
            
                <li>
                <i class="icon adpiconfont icon-jiaotongtraffic8"></i>
                    <div class="name">交通</div>
                    <div class="fontclass">.icon-jiaotongtraffic8</div>
                </li>
            
                <li>
                <i class="icon adpiconfont icon-jiaotongtraffic10"></i>
                    <div class="name">交通</div>
                    <div class="fontclass">.icon-jiaotongtraffic10</div>
                </li>
            
                <li>
                <i class="icon adpiconfont icon-jiaotong3"></i>
                    <div class="name">交通</div>
                    <div class="fontclass">.icon-jiaotong3</div>
                </li>
            
                <li>
                <i class="icon adpiconfont icon-jiaotong4"></i>
                    <div class="name">交通</div>
                    <div class="fontclass">.icon-jiaotong4</div>
                </li>
            
                <li>
                <i class="icon adpiconfont icon-jiaotongyunshuqimo"></i>
                    <div class="name">交通运输汽摩</div>
                    <div class="fontclass">.icon-jiaotongyunshuqimo</div>
                </li>
            
                <li>
                <i class="icon adpiconfont icon-jiaotongzhiyin"></i>
                    <div class="name">交通指引</div>
                    <div class="fontclass">.icon-jiaotongzhiyin</div>
                </li>
            
                <li>
                <i class="icon adpiconfont icon-cf-c12"></i>
                    <div class="name">区域</div>
                    <div class="fontclass">.icon-cf-c12</div>
                </li>
            
                <li>
                <i class="icon adpiconfont icon-renwu"></i>
                    <div class="name">任务</div>
                    <div class="fontclass">.icon-renwu</div>
                </li>
            
                <li>
                <i class="icon adpiconfont icon-area-traffic"></i>
                    <div class="name">区域交通</div>
                    <div class="fontclass">.icon-area-traffic</div>
                </li>
            
                <li>
                <i class="icon adpiconfont icon-zonghejiaotongzhanshi"></i>
                    <div class="name">综合交通展示</div>
                    <div class="fontclass">.icon-zonghejiaotongzhanshi</div>
                </li>
            
                <li>
                <i class="icon adpiconfont icon-lukou"></i>
                    <div class="name">路口</div>
                    <div class="fontclass">.icon-lukou</div>
                </li>
            
                <li>
                <i class="icon adpiconfont icon-jiaotongyinxing"></i>
                    <div class="name">交通银行</div>
                    <div class="fontclass">.icon-jiaotongyinxing</div>
                </li>
            
                <li>
                <i class="icon adpiconfont icon-jiaotongguanzhi"></i>
                    <div class="name">交通管制</div>
                    <div class="fontclass">.icon-jiaotongguanzhi</div>
                </li>
            
                <li>
                <i class="icon adpiconfont icon-caijishezhi"></i>
                    <div class="name">采集设置</div>
                    <div class="fontclass">.icon-caijishezhi</div>
                </li>
            
                <li>
                <i class="icon adpiconfont icon-jiaotong5"></i>
                    <div class="name">交通</div>
                    <div class="fontclass">.icon-jiaotong5</div>
                </li>
            
                <li>
                <i class="icon adpiconfont icon-jiaotongtubiaochaoshichaosu"></i>
                    <div class="name">交通图标_超时超速</div>
                    <div class="fontclass">.icon-jiaotongtubiaochaoshichaosu</div>
                </li>
            
                <li>
                <i class="icon adpiconfont icon-jiaotongtubiaoguihuan"></i>
                    <div class="name">交通图标_归还</div>
                    <div class="fontclass">.icon-jiaotongtubiaoguihuan</div>
                </li>
            
                <li>
                <i class="icon adpiconfont icon-jiaotongtubiaohuizhijiaotongbiaozhu"></i>
                    <div class="name">交通图标_绘制交通标注</div>
                    <div class="fontclass">.icon-jiaotongtubiaohuizhijiaotongbiaozhu</div>
                </li>
            
                <li>
                <i class="icon adpiconfont icon-jiaotongtubiaojiqun"></i>
                    <div class="name">交通图标_集群</div>
                    <div class="fontclass">.icon-jiaotongtubiaojiqun</div>
                </li>
            
                <li>
                <i class="icon adpiconfont icon-jiaotongtubiaoshenhelishi"></i>
                    <div class="name">交通图标_审核历史</div>
                    <div class="fontclass">.icon-jiaotongtubiaoshenhelishi</div>
                </li>
            
                <li>
                <i class="icon adpiconfont icon-jiaotongtubiaozaixian"></i>
                    <div class="name">交通图标_在线</div>
                    <div class="fontclass">.icon-jiaotongtubiaozaixian</div>
                </li>
            
                <li>
                <i class="icon adpiconfont icon-jiaotongleiqiakou"></i>
                    <div class="name">交通类_卡扣</div>
                    <div class="fontclass">.icon-jiaotongleiqiakou</div>
                </li>
            
                <li>
                <i class="icon adpiconfont icon-jiaotongzhishu"></i>
                    <div class="name">交通指数</div>
                    <div class="fontclass">.icon-jiaotongzhishu</div>
                </li>
            
                <li>
                <i class="icon adpiconfont icon-7jiaotongsheshi"></i>
                    <div class="name">7交通设施</div>
                    <div class="fontclass">.icon-7jiaotongsheshi</div>
                </li>
            
                <li>
                <i class="icon adpiconfont icon-jiaotonganquan"></i>
                    <div class="name">交通安全</div>
                    <div class="fontclass">.icon-jiaotonganquan</div>
                </li>
            
                <li>
                <i class="icon adpiconfont icon-jiaotongzhandian"></i>
                    <div class="name">交通站点</div>
                    <div class="fontclass">.icon-jiaotongzhandian</div>
                </li>
            
                <li>
                <i class="icon adpiconfont icon-jiaotongxianlu"></i>
                    <div class="name">交通线路</div>
                    <div class="fontclass">.icon-jiaotongxianlu</div>
                </li>
            
                <li>
                <i class="icon adpiconfont icon-jiaotongtongxin"></i>
                    <div class="name">交通通信</div>
                    <div class="fontclass">.icon-jiaotongtongxin</div>
                </li>
            
                <li>
                <i class="icon adpiconfont icon-luduan"></i>
                    <div class="name">路段</div>
                    <div class="fontclass">.icon-luduan</div>
                </li>
            
                <li>
                <i class="icon adpiconfont icon-daoluguanli"></i>
                    <div class="name">道路管理</div>
                    <div class="fontclass">.icon-daoluguanli</div>
                </li>
            
                <li>
                <i class="icon adpiconfont icon-chengchuan"></i>
                    <div class="name">交通方式_乘船</div>
                    <div class="fontclass">.icon-chengchuan</div>
                </li>
            
                <li>
                <i class="icon adpiconfont icon-jiaotongweifachaxun1"></i>
                    <div class="name">交通违法查询</div>
                    <div class="fontclass">.icon-jiaotongweifachaxun1</div>
                </li>
            
                <li>
                <i class="icon adpiconfont icon-jiaotongliutaishiyanpan"></i>
                    <div class="name">交通流态势研判</div>
                    <div class="fontclass">.icon-jiaotongliutaishiyanpan</div>
                </li>
            
                <li>
                <i class="icon adpiconfont icon-jiaotongtaishi"></i>
                    <div class="name">交通态势</div>
                    <div class="fontclass">.icon-jiaotongtaishi</div>
                </li>
            
                <li>
                <i class="icon adpiconfont icon-jiaotong6"></i>
                    <div class="name">交通</div>
                    <div class="fontclass">.icon-jiaotong6</div>
                </li>
            
                <li>
                <i class="icon adpiconfont icon-luduan1"></i>
                    <div class="name">路段</div>
                    <div class="fontclass">.icon-luduan1</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">adpiconfont</span> <span class="hljs-selector-tag">icon-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"adpiconfont"是你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
